package com.asset.crm.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name="view_fields")
public class ViewFields implements Serializable{
	
 private Integer id;
 private String viewTypeId;
 private String field;
 
 
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE ,generator="view_fields_id_seq")
	@SequenceGenerator(name="view_fields_id_seq",sequenceName="view_fields_id_seq",allocationSize=1)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	@Column(name="view_type")
	public String getViewTypeId() {
		return viewTypeId;
	}
	public void setViewTypeId(String viewTypeId) {
		this.viewTypeId = viewTypeId;
	}
	
	@Column(name="field")
	public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}

}
